<template>
	<view>
		<view class="bady" :style="{paddingTop:h - 4 +'px'}" >
			<view class="img">
				<view class="title flex-c">{{tit}}</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"naviTitle",
		props:{
			tit:{
				type:String,
				default:''
			}
		},
		data() {
			return {
				h:0,
			};
		},
		created() {
			this.h = getApp().globalData.height
		}
	}
</script>

<style lang="scss" scoped>
.bady{
	width: 100%;
	background: #1CD699;
	padding-bottom: 10rpx;
	// position: absolute;
}
.img{
	.title{
		width: 100%;
		height: 89rpx;
		font-size: 40rpx;
		font-family: PingFang SC-Bold, PingFang SC;
		font-weight: bold;
		color: #fff;
		
	}
}

</style>